package com.cskaoyan.bean.groupon;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @program: whyccz-mall-project
 * @description:
 * @create: 2021-06-10 11:11
 **/
@Data
public class ItemRulesVO {
	private String discount;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//响应json格式
	private LocalDateTime addTime;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//响应json格式
	private LocalDateTime expireTime;
	private Integer discountMember;


}
